import React from 'react';
import {Path, Svg} from 'react-native-svg';

import {primaryColor} from '../../theme/default';

type UpNetworkLogoProp = {
  width?: number;
  color?: string;
};

export function UpNetworkLogo({width, color}: Readonly<UpNetworkLogoProp>) {
  const _width: number = width ?? 120;
  const _height: number = (_width * 24) / 120;
  return (
    <Svg
      fill="currentColor"
      width={width ?? 120}
      height={_height}
      viewBox="0 0 120 24"
      color={color ?? primaryColor}>
      <Path d="M33.7165559,4.98630817 C33.7165559,4.88925681 33.7442538,4.81301512 33.7997221,4.75754684 C33.8551903,4.70207856 33.931432,4.67438068 34.0284834,4.67438068 L37.3141994,4.67438068 C37.4113595,4.67438068 37.4874924,4.70207856 37.5429607,4.75754684 C37.598429,4.81301512 37.6263444,4.88925681 37.6263444,4.98630817 L37.6263444,18.9195771 C37.6263444,19.0166284 37.598429,19.0928701 37.5429607,19.1483384 C37.4874924,19.2038067 37.4113595,19.2315408 37.3141994,19.2315408 L34.1740423,19.2315408 C34.0076737,19.2315408 33.8829245,19.1621873 33.7997221,19.0235529 L29.5573414,11.9529426 C29.5296073,11.9113595 29.5019094,11.8974743 29.4741752,11.9113595 C29.4464411,11.9113595 29.4325921,11.9390937 29.4325921,11.9945257 L29.4741752,18.9195771 C29.4741752,19.0166284 29.4464411,19.0928701 29.3909728,19.1483384 C29.3355408,19.2038067 29.2592628,19.2315408 29.1622477,19.2315408 L25.8764592,19.2315408 C25.7794079,19.2315408 25.7031662,19.2038067 25.6477341,19.1483384 C25.5922659,19.0928701 25.5645317,19.0166284 25.5645317,18.9195771 L25.5645317,4.98630817 C25.5645317,4.88925681 25.5922659,4.81301512 25.6477341,4.75754684 C25.7031662,4.70207856 25.7794079,4.67438068 25.8764592,4.67438068 L29.0166526,4.67438068 C29.1830211,4.67438068 29.3078066,4.7436979 29.3909728,4.88233234 L33.6125438,11.9529426 C33.6402779,11.9945257 33.6680121,12.0153354 33.6957462,12.0153354 C33.7234804,12.0014864 33.7373293,11.9668278 33.7373293,11.9113595 L33.7165559,4.98630817 Z" />
      <Path d="M49.7960121,7.71056195 C49.7960121,7.80761331 49.7684592,7.88389125 49.7129909,7.93932328 C49.6575227,7.99479155 49.5810272,8.02252569 49.4842296,8.02252569 L43.2659819,8.02252569 C43.1967372,8.02252569 43.1622961,8.0571843 43.1622961,8.12650152 L43.1622961,10.0813052 C43.1622961,10.1506224 43.1967372,10.185281 43.2659819,10.185281 L47.1132326,10.185281 C47.2103927,10.185281 47.2865257,10.2130151 47.341994,10.2684834 C47.3974622,10.3239154 47.4253776,10.4001934 47.4253776,10.4972447 L47.4253776,13.2006888 C47.4253776,13.2977402 47.3974622,13.3740181 47.341994,13.4294502 C47.2865257,13.4849184 47.2103927,13.5126526 47.1132326,13.5126526 L43.2659819,13.5126526 C43.1967372,13.5126526 43.1622961,13.5473112 43.1622961,13.6166284 L43.1622961,15.7793837 C43.1622961,15.8487009 43.1967372,15.8833958 43.2659819,15.8833958 L49.4842296,15.8833958 C49.5810272,15.8833958 49.6575227,15.9110937 49.7129909,15.9665619 C49.7684592,16.0220302 49.7960121,16.0982719 49.7960121,16.1953233 L49.7960121,18.9195771 C49.7960121,19.0166284 49.7684592,19.0928701 49.7129909,19.1483384 C49.6575227,19.2038067 49.5810272,19.2315408 49.4842296,19.2315408 L39.5644713,19.2315408 C39.4673112,19.2315408 39.3911782,19.2038067 39.33571,19.1483384 C39.2802417,19.0928701 39.2523263,19.0166284 39.2523263,18.9195771 L39.2523263,4.98630817 C39.2523263,4.88925681 39.2802417,4.81301512 39.33571,4.75754684 C39.3911782,4.70207856 39.4673112,4.67438068 39.5644713,4.67438068 L49.4842296,4.67438068 C49.5810272,4.67438068 49.6575227,4.70207856 49.7129909,4.75754684 C49.7684592,4.81301512 49.7960121,4.88925681 49.7960121,4.98630817 L49.7960121,7.71056195 Z" />
      <Path d="M61.9888822,4.67438068 C62.0860423,4.67438068 62.1621752,4.70207856 62.2176435,4.75754684 C62.2731118,4.81301512 62.3010272,4.88925681 62.3010272,4.98630817 L62.3010272,7.73137162 C62.3010272,7.82842297 62.2731118,7.90466467 62.2176435,7.96013294 C62.1621752,8.01556497 62.0860423,8.04329911 61.9888822,8.04329911 L58.4951057,8.04329911 C58.425861,8.04329911 58.3914199,8.07795772 58.3914199,8.14727494 L58.3914199,18.9195771 C58.3914199,19.0166284 58.3635045,19.0928701 58.3080363,19.1483384 C58.252568,19.2038067 58.176435,19.2315408 58.0792749,19.2315408 L54.7935952,19.2315408 C54.696435,19.2315408 54.6203021,19.2038067 54.5648338,19.1483384 C54.5093656,19.0928701 54.4814502,19.0166284 54.4814502,18.9195771 L54.4814502,8.14727494 C54.4814502,8.07795772 54.4470091,8.04329911 54.3777644,8.04329911 L50.9880363,8.04329911 C50.8908761,8.04329911 50.8147432,8.01556497 50.7592749,7.96013294 C50.7038066,7.90466467 50.6758912,7.82842297 50.6758912,7.73137162 L50.6758912,4.98630817 C50.6758912,4.88925681 50.7038066,4.81301512 50.7592749,4.75754684 C50.8147432,4.70207856 50.8908761,4.67438068 50.9880363,4.67438068 L61.9888822,4.67438068 Z" />
      <Path d="M67.6190937,19.2315408 C67.53571,19.2315408 67.459577,19.2107311 67.3903323,19.1691481 C67.3207251,19.1136798 67.2793958,19.0443626 67.2652568,18.9611601 L63.1479154,5.02789125 C63.134139,5.00015711 63.1268882,4.9654985 63.1268882,4.92391542 C63.1268882,4.75754684 63.2240483,4.67438068 63.418006,4.67438068 L66.9534743,4.67438068 C67.1336556,4.67438068 67.2445921,4.76447131 67.286284,4.94472509 L69.0540181,11.7241813 C69.0677946,11.7658006 69.0884592,11.7934985 69.1163746,11.8073837 C69.1439275,11.8073837 69.1649547,11.7796496 69.1787311,11.7241813 L70.5719637,4.94472509 C70.6136556,4.76447131 70.7314804,4.67438068 70.9254381,4.67438068 L73.9616918,4.67438068 C74.1418731,4.67438068 74.2528097,4.76447131 74.2945015,4.94472509 L75.854139,11.7241813 C75.8679154,11.7796496 75.8889426,11.8073837 75.9164955,11.8073837 C75.9444109,11.8073837 75.9650755,11.7796496 75.978852,11.7241813 L77.5384894,4.94472509 C77.5801813,4.76447131 77.6911178,4.67438068 77.8712991,4.67438068 L81.427432,4.67438068 C81.5383686,4.67438068 81.6145015,4.70903929 81.6561934,4.77835651 C81.7116482,4.83378853 81.7254381,4.91699095 81.6978852,5.02789125 L77.9960121,18.9611601 C77.9546828,19.1414139 77.8437462,19.2315408 77.663565,19.2315408 L74.3361934,19.2315408 C74.1418731,19.2315408 74.0240483,19.1414139 73.9823565,18.9611601 L72.4850755,11.8073837 C72.4712991,11.7658006 72.4506344,11.744991 72.422719,11.744991 C72.3951662,11.744991 72.374139,11.7658006 72.3603625,11.8073837 L71.0501511,18.9403867 C71.0088218,19.1344894 70.8978852,19.2315408 70.7177039,19.2315408 L67.6190937,19.2315408 Z" />
      <Path d="M87.7595166,19.4810755 C86.6088218,19.4810755 85.5897281,19.2523142 84.7025982,18.7948278 C83.8288822,18.32342 83.1498489,17.6718308 82.6644109,16.8399879 C82.1793353,15.9942961 81.9367976,15.0168943 81.9367976,13.9077825 L81.9367976,9.99813899 C81.9367976,8.91672509 82.1793353,7.96013294 82.6644109,7.12829004 C83.1498489,6.29644714 83.8288822,5.65178249 84.7025982,5.19425983 C85.5897281,4.73677343 86.6088218,4.5080121 87.7595166,4.5080121 C88.9239879,4.5080121 89.9430816,4.73677343 90.816435,5.19425983 C91.7039275,5.65178249 92.3902115,6.29644714 92.875287,7.12829004 C93.3603625,7.96013294 93.6032628,8.91672509 93.6032628,9.99813899 L93.6032628,13.9077825 C93.6032628,15.0168943 93.3603625,15.9942961 92.875287,16.8399879 C92.3902115,17.6718308 91.7039275,18.32342 90.816435,18.7948278 C89.9430816,19.2523142 88.9239879,19.4810755 87.7595166,19.4810755 Z M87.7595166,16.1329305 C88.3417523,16.1329305 88.8061631,15.9457523 89.1527492,15.571432 C89.5131118,15.1832629 89.6936556,14.6702719 89.6936556,14.0325317 L89.6936556,9.95651965 C89.6936556,9.31877947 89.5131118,8.81274926 89.1527492,8.43842902 C88.8061631,8.05022358 88.3417523,7.85615711 87.7595166,7.85615711 C87.1910574,7.85615711 86.7266465,8.05022358 86.366284,8.43842902 C86.0196979,8.81274926 85.8464048,9.31877947 85.8464048,9.95651965 L85.8464048,14.0325317 C85.8464048,14.6702719 86.0196979,15.1832629 86.366284,15.571432 C86.7266465,15.9457523 87.1910574,16.1329305 87.7595166,16.1329305 Z" />
      <Path d="M102.69281,19.2315408 C102.512628,19.2315408 102.394804,19.1552629 102.339335,19.0027795 L100.051722,13.7206042 C100.024169,13.665136 99.9824773,13.6374018 99.9270091,13.6374018 L99.0536556,13.6374018 C98.9844109,13.6374018 98.9496073,13.6720604 98.9496073,13.7414139 L98.9496073,18.9195771 C98.9496073,19.0166284 98.9220544,19.0928701 98.8665861,19.1483384 C98.8111178,19.2038067 98.7346224,19.2315408 98.6378248,19.2315408 L95.3517825,19.2315408 C95.2549849,19.2315408 95.1784894,19.2038067 95.1233837,19.1483384 C95.0679154,19.0928701 95.04,19.0166284 95.04,18.9195771 L95.04,4.98630817 C95.04,4.88925681 95.0679154,4.81301512 95.1233837,4.75754684 C95.1784894,4.70207856 95.2549849,4.67438068 95.3517825,4.67438068 L101.653051,4.67438068 C102.596012,4.67438068 103.420785,4.86844714 104.127734,5.25665258 C104.848822,5.64485802 105.403505,6.19247131 105.79142,6.89952872 C106.193474,7.59273717 106.394683,8.39684594 106.394683,9.311855 C106.394683,10.2269003 106.165921,11.0310091 105.708399,11.7241813 C105.264653,12.4035408 104.647613,12.9026103 103.857644,13.2214985 C103.788036,13.2492326 103.767372,13.2977402 103.795287,13.3670574 L106.436375,18.8571843 C106.463927,18.9403867 106.477704,18.9888943 106.477704,19.0027795 C106.477704,19.0720967 106.450151,19.1275287 106.394683,19.1691481 C106.339215,19.2107311 106.26997,19.2315408 106.186586,19.2315408 L102.69281,19.2315408 Z M99.0536556,8.02252569 C98.9844109,8.02252569 98.9496073,8.0571843 98.9496073,8.12650152 L98.9496073,10.5596012 C98.9496073,10.6289547 98.9844109,10.6636133 99.0536556,10.6636133 L101.008459,10.6636133 C101.452205,10.6636133 101.812568,10.5457523 102.089909,10.3100665 C102.367251,10.0605317 102.50574,9.74164352 102.50574,9.35343808 C102.50574,8.9513837 102.367251,8.63253174 102.089909,8.39684594 C101.812568,8.14727494 101.452205,8.02252569 101.008459,8.02252569 L99.0536556,8.02252569 Z" />
      <Path d="M108.146465,19.2315408 C108.049305,19.2315408 107.973172,19.2038067 107.917704,19.1483384 C107.862236,19.0928701 107.83432,19.0166284 107.83432,18.9195771 L107.83432,4.98630817 C107.83432,4.88925681 107.862236,4.81301512 107.917704,4.75754684 C107.973172,4.70207856 108.049305,4.67438068 108.146465,4.67438068 L111.432145,4.67438068 C111.529305,4.67438068 111.605438,4.70207856 111.660906,4.75754684 C111.716375,4.81301512 111.743927,4.88925681 111.743927,4.98630817 L111.743927,9.95651965 C111.743927,9.99813899 111.758066,10.0258731 111.785619,10.0397221 C111.813172,10.053571 111.841088,10.0397221 111.86864,9.99813899 L115.48713,4.86152267 C115.570514,4.73677343 115.702115,4.67438068 115.882296,4.67438068 L119.604834,4.67438068 C119.771239,4.67438068 119.854622,4.73677343 119.854622,4.86152267 C119.854622,4.91699095 119.833595,4.9793837 119.791903,5.04870092 L115.466465,11.058707 C115.438912,11.1003263 115.438912,11.1488339 115.466465,11.2043021 L119.937644,18.8571843 C119.979335,18.9126526 120,18.9750453 120,19.0443626 C120,19.1691481 119.909728,19.2315408 119.729547,19.2315408 L116.048701,19.2315408 C115.86852,19.2315408 115.743807,19.1621873 115.674562,19.0235529 L112.804713,13.9077825 C112.790937,13.8661632 112.769909,13.8453897 112.742356,13.8453897 C112.714441,13.8453897 112.686888,13.8661632 112.658973,13.9077825 L111.785619,15.2386949 C111.758066,15.2941632 111.743927,15.3357462 111.743927,15.3634804 L111.743927,18.9195771 C111.743927,19.0166284 111.716375,19.0928701 111.660906,19.1483384 C111.605438,19.2038067 111.529305,19.2315408 111.432145,19.2315408 L108.146465,19.2315408 Z" />
      <Path d="M15.0052931,9.78184896 C15.7067674,10.307565 16.4803142,10.633849 17.2334139,11.068713 C17.42371,11.1703323 17.4973414,11.3020061 17.4995166,11.5159758 C17.5215589,13.5672508 17.5511057,15.6190695 17.5811964,17.6703444 C17.5839154,17.8450514 17.5425136,17.9810393 17.3817644,18.0761692 C16.2196133,18.7631783 15.0606526,19.4555166 13.8979577,20.1408943 C13.545861,20.3484109 13.500145,20.318284 13.4947795,19.9076012 C13.4679154,17.963855 13.4345619,16.0200725 13.4227432,14.0757462 C13.4206042,13.7564592 13.3152508,13.5742115 13.0367855,13.4220906 C10.1050151,11.8185861 7.19847734,10.1704894 4.28283988,8.53794563 C3.08249184,7.87083989 1.88376073,7.19836859 0.678043505,6.54257403 C0.44044713,6.39850152 0.43507432,6.30714201 0.666754079,6.17006648 C1.21881571,5.84269488 1.77517704,5.52286406 2.32616193,5.19331723 C3.95869486,4.19351059 8.89123867,1.18430575 10.9575589,0.0812574159 C11.1639879,-0.0289398167 11.4112387,-0.0267896415 11.6160363,0.0860951199 C13.1991299,0.961221766 20.0861873,4.76972811 21.2349245,5.40674322 C21.3096435,5.44814503 21.3144653,5.55404231 21.2440604,5.60240485 C20.4027915,6.17757101 16.3453776,8.94648944 15.0052931,9.78184896 Z M11.3456556,3.93868279 C11.3456556,3.93868279 9.46317825,5.05624171 8.34025378,5.76688823 C8.12951057,5.88460424 8.13328097,5.99912992 8.33970997,6.11467071 C9.11644713,6.54957101 9.9163142,6.94789125 10.6678187,7.42252569 C11.145716,7.72412086 11.498864,7.74667071 11.9993112,7.41929911 C12.6357825,7.00270696 14.5897523,5.80451965 14.6247009,5.76634443 C14.6505136,5.73839276 11.3456556,3.93868279 11.3456556,3.93868279 Z" />
      <Path d="M4.36694864,18.0131964 C4.36694864,18.0908882 4.41067069,18.1620181 4.47998792,18.1971118 L7.24861631,19.5987553 C7.3857281,19.6681813 7.54781873,19.5685197 7.54781873,19.4148399 L7.54781873,12.4183686 C7.54781873,12.2621148 7.71491239,12.1626707 7.85224169,12.2372085 L12.2921692,14.6459456 C12.3586224,14.6819819 12.3999879,14.7515166 12.3999879,14.827142 L12.3999879,20.9723384 C12.3999879,21.045281 12.3614502,21.1128218 12.2986224,21.1498731 L8.12603021,23.6117583 C8.06780665,23.6461269 7.99638671,23.6497523 7.93497281,23.6214381 L0.119819094,20.0180665 C0.046780423,19.9843867 0,19.9112991 0,19.830852 L0,8.33470696 C0,8.17939578 0.16524,8.07987917 0.302518187,8.15253174 L4.25720846,10.2447372 C4.32471299,10.2804471 4.36694864,10.3505619 4.36694864,10.4269487 L4.36694864,18.0131964 Z" />
    </Svg>
  );
}
